export default [
    {
        path: '/system-management',
        name: 'sysManage', //当前菜单名称
        meta: {
            title: '系统管理',
            permiss: 5,
        },
        children: [
            {
                path: '/role-management',
                name: 'roleManage',
                meta: {
                    title: '角色管理',
                    permiss: 501,
                },
                component: () => import(/* webpackChunkName: "role-management" */ '../views/system-manage/role/index.vue'),
            },
            {
                path: '/user-management',
                name: 'userManage',
                meta: {
                    title: '用户管理',
                    permiss: 502,
                },
                component: () => import(/* webpackChunkName: "user-management" */ '../views/system-manage/user/index.vue'),
                children: [
                    {
                        path: '/ingka-livat-users',
                        name: 'internalUser',
                        meta: {
                            title: '内部人员',
                            permiss: 50201,
                        },
                        component: () => import(/* webpackChunkName: "ingka-livat-users" */ '../views/system-manage/user/ingka-livat-users.vue'),
                    },
                    {
                        path: '/third-party-security-agent',
                        name: 'tripartitePersonnel',
                        meta: {
                            title: '三方人员',
                            permiss: 50202,
                        },
                        component: () => import(/* webpackChunkName: "third-party-security-agent" */ '../views/system-manage/user/third-party-security-agent.vue'),
                    },
                    {
                        path: '/access-application-review',
                        name: 'toBeReviewed',
                        meta: {
                            title: '待审核',
                            permiss: 50203,
                        },
                        component: () => import(/* webpackChunkName: "access-application-review" */ '../views/system-manage/user/access-application-review.vue'),
                    }
                ]
          },
          {
            path: '/department-management',
            name: 'departmentManage',
            meta: {
                title: '部门与巡检类型管理',
                permiss: 510,
            },
            component: () => import(/* webpackChunkName: "role-management" */ '../views/system-manage/department/index.vue'),
          },
            {
                path: '/tenant-information-management',
                name: 'tenantInfoManage',
                meta: {
                    title: '租户信息管理',
                    permiss: 503,
                },
                component: () => import(/* webpackChunkName: "tenant-information-management" */ '../views/system-manage/tenant-info/index.vue'),
            },
            {
                path: '/checkpoint-location-management',
                name: 'patrolManagement',
                meta: {
                    title: '巡更点管理',
                    permiss: 504,
                },
                component: () => import(/* webpackChunkName: "checkpoint-location" */ '../views/system-manage/checkpoint-location/index.vue'),
                children: [
                    {
                        path: '/outdoor',
                        name: 'outfield',
                        meta: {
                            title: '外场',
                            permiss: 504,
                        },
                        component: () => import(/* webpackChunkName: "outfield" */ '../views/system-manage/checkpoint-location/outfield.vue'),
                    },
                    {
                        path: '/indoor',
                        name: 'infield',
                        meta: {
                            title: '内场',
                            permiss: 504,
                        },
                        component: () => import(/* webpackChunkName: "infield" */ '../views/system-manage/checkpoint-location/infield.vue'),
                    },
                    {
                        path: '/roof',
                        name: 'roofing',
                        meta: {
                            title: '屋面',
                            permiss: 504,
                        },
                        component: () => import(/* webpackChunkName: "roofing" */ '../views/system-manage/checkpoint-location/roofing.vue'),
                    },
                    {
                        path: '/fire-hydrant',
                        name: 'fireHydrant',
                        meta: {
                            title: '消防栓',
                            permiss: 504,
                        },
                        component: () => import(/* webpackChunkName: "fire-hydrant" */ '../views/system-manage/checkpoint-location/fire-hydrant.vue'),
                    }, {
                        path: '/fire-cabinet',
                        name: 'fireEmergencyCabinet',
                        meta: {
                            title: '消防应急柜',
                            permiss: 504,
                        },
                        component: () => import(/* webpackChunkName: "fire-emergency-cabinet" */ '../views/system-manage/checkpoint-location/fire-emergency-cabinet.vue'),
                    },
                    {
                        path: '/evacuating-gate',
                        name: 'evacuationDoor',
                        meta: {
                            title: '疏散门',
                            permiss: 504,
                        },
                        component: () => import(/* webpackChunkName: "evacuation-gate" */ '../views/system-manage/checkpoint-location/evacuation-door.vue'),
                    },
                    {
                        path: '/elevator-equipment',
                        name: 'elevatorEquipment',
                        meta: {
                            title: '电梯设备',
                            permiss: 504,
                        },
                        component: () => import(/* webpackChunkName: "elevator-equipment" */ '../views/system-manage/checkpoint-location/elevator-equipment.vue'),
                    },
                    {
                        path: '/fit-out',
                        name: 'fitOut',
                        meta: {
                            title: '施工',
                            permiss: 504,
                        },
                        component: () => import(/* webpackChunkName: "fit-out" */ '../views/system-manage/checkpoint-location/fit-out.vue'),
                    },
                    {
                        path: '/vacant',
                        name: 'vacant',
                        meta: {
                            title: '空铺',
                            permiss: 504,
                        },
                        component: () => import(/* webpackChunkName: "vacant" */ '../views/system-manage/checkpoint-location/vacant.vue'),
                    },

                ]
            },
            {
                path: '/meeting-place-inspection-forms',
                name: 'shopInspectMsg',
                meta: {
                    title: '商场检查表管理',
                    permiss: 505,
                },
                component: () => import(/* webpackChunkName: "meeting-place-inspection-forms" */ '../views/system-manage/meeting-place-inspection-forms/index.vue'),
            },
            {
                path: '/meeting-place-inspection-forms-operate/:type/:id?',
                name: 'shopInspectMsgOperate',
                meta: {
                    title: '商场检查表操作',
                    parentSideItem: '/meeting-place-inspection-forms',
                    permiss: [50501, 50503],
                },
                component: () => import(/* webpackChunkName: "meeting-place-inspection-forms-operate" */ '../views/system-manage/meeting-place-inspection-forms/operate.vue'),
            },
            {
                path: '/meeting-place-inspection-forms-detail/:id',
                name: 'shopInspectMsgDetail',
                meta: {
                    title: '商场检查表详情',
                    parentSideItem: '/meeting-place-inspection-forms',
                    permiss: 505,
                },
                component: () => import(/* webpackChunkName: "meeting-place-inspection-forms-detail" */ '../views/system-manage/meeting-place-inspection-forms/detail.vue'),
            },
            {
                path: '/centres-inspection-forms',
                name: 'groupInspectMsg',
                meta: {
                    title: '集团检查表管理',
                    permiss: 506,
                },
                component: () => import(/* webpackChunkName: "centres-inspection-forms" */ '../views/system-manage/centres-inspection-forms/index.vue'),
            },
            {
                path: '/centres-inspection-forms-operate/:type/:id?',
                name: 'groupInspectMsgOperate',
                meta: {
                    title: '集团检查表操作',
                    parentSideItem: '/centres-inspection-forms',
                    permiss: [50601, 50603],
                },
                component: () => import(/* webpackChunkName: "centres-inspection-forms-operate" */ '../views/system-manage/centres-inspection-forms/operate.vue'),
            },
            {
                path: '/centres-inspection-forms-detail/:id',
                name: 'groupInspectMsgDetail',
                meta: {
                    title: '集团检查表详情',
                    parentSideItem: '/centres-inspection-forms',
                    permiss: 506,
                },
                component: () => import(/* webpackChunkName: "centres-inspection-forms-detail" */ '../views/system-manage/centres-inspection-forms/detail.vue'),
            },
            {
                path: '/inspection-task-management',
                name: 'inspectTaskMsg',
                meta: {
                    title: '检查任务管理',
                    permiss: 507,
                },
                component: () => import(/* webpackChunkName: "/inspection-task-management" */ '../views/system-manage/inspect-task/index.vue'),
            },
            {
                path: '/dictionary-management',
                name: 'dictionaryMsg',
                meta: {
                    title: '字典表管理',
                    permiss: 508,
                },
                component: () => import(/* webpackChunkName: "dictionary-management" */ '../views/system-manage/dictionary/index.vue'),
            },
            {
                path: '/category-management',
                name: 'categoryMsg',
                meta: {
                    title: '业态管理',
                    permiss: 509,
                },
                component: () => import(/* webpackChunkName: "category-management" */ '../views/system-manage/category/index.vue'),
            },
        ]
    },
]